package Class.Advance.Inherit.Test.Employee;

public class Manager extends Employee{
    int manageReword;

    public Manager(){
    }

    public Manager(String workId, String name, int salary, int manageReword){
        super(workId, name, salary);
        this.manageReword = manageReword;
    }

    public void eat(){
        System.out.println("吃米饭");
    }

    public void work(){
        System.out.println("管理其他人");
    }
}
